package testLayer;

import static org.junit.Assert.*;
import modelLayer.OrderLine;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import dbLayer.DBOrderLine;

public class DBOrderLineTest {
	
	private DBOrderLine dbOrderLine;
	private OrderLine orderLine;

	@Before
	public void setUp() throws Exception {
		
		this.dbOrderLine = new DBOrderLine();
		this.orderLine = new OrderLine();
		
	}

	@After
	public void tearDown() throws Exception {
		
		
		
	}

	@Test
	public void testInsertOrderLine() throws Exception {
		
		if (this.dbOrderLine.insertOrderLine(this.orderLine) > 0) {
			System.out.println("");
		}
		else {
			fail("");
		}
	}

}
